package com.ruoyi.mobile.model.bo;

import java.time.LocalDateTime;
import java.util.Date;

public class MessageBo {

    private String command;

    private Integer toUserId;

    /** 消息类型（0：文字，1：图片） */
    private Integer type;

    private String msg;

    private Integer fromUserId;

    /** 是否来自于后台管理员发送  0:否， 1:是*/
    private Integer fromAdmin;

    private Date sendTime;

    public String getCommand() {
        return command;
    }

    public void setCommand(String command) {
        this.command = command;
    }

    public Integer getToUserId() {
        return toUserId;
    }

    public void setToUserId(Integer toUserId) {
        this.toUserId = toUserId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getFromUserId() {
        return fromUserId;
    }

    public void setFromUserId(Integer fromUserId) {
        this.fromUserId = fromUserId;
    }

    public Integer getFromAdmin() {
        return fromAdmin;
    }

    public void setFromAdmin(Integer fromAdmin) {
        this.fromAdmin = fromAdmin;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }
}
